package com.norns.torque.dialog

import android.os.Bundle
import android.view.Gravity
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.hi.dhl.binding.viewbind
import com.norns.torque.databinding.DialogWheelBinding

class DateTimeDialog :CommonDialog(){
    private val binding by viewbind<DialogWheelBinding>()
    private var btnClickListener:((name:String?)->Unit)?=null

    fun setClickListener(listener:(name:String?)->Unit){
        btnClickListener=listener
    }

    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View {
        screenWidthAspect=1f
        gravity= Gravity.BOTTOM
        return binding.root
    }

    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)


    }
}